function pretty_print_reward_range(taskSpec)
    rewardRange = taskSpec.getRewardRange();
    if rewardRange.hasSpecialMinStatus()
        minReward = rewardRange.getMinSpecialStatus();
    else
        minReward = num2str(rewardRange.getMin());
    end

    if rewardRange.hasSpecialMaxStatus()
        maxReward = rewardRange.getMaxSpecialStatus();
    else
        maxReward = num2str(rewardRange.getMax());
    end
    fprintf('Reward range: min=%s, max=%s\n', minReward, maxReward);
end